import { App } from 'vue'
import image from './image.vue'
import drawer from './drawer.vue'

/**
 * 全局组件插件
 * @use 注册内组件名称eg：myImage
 */

export const componentPlugin = {
    install(app: App) {
        app.component('myImage', image);
        app.component('myDrawer', drawer);
    }
}
